package com.darker.yygh.cmn.mapper;

import com.atguigu.yygh.model.cmn.Dict;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface DictMapper extends BaseMapper<Dict> {
    @Select("select * from dict where parent_id=${id}")
    List<Dict> list(long id);
}
